﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AppManager
{
    public partial class MainFrm : Form
    {
        public MainFrm()
        {
            InitializeComponent();
        }

        private void LoadFormAppObjects(string objectType)
        {
            FrmAppObjects frmAppObjects = new FrmAppObjects(objectType);
            frmAppObjects.Show();
            //this.Hide();
        }

        private void btnTables_Click(object sender, EventArgs e)
        {
            LoadFormAppObjects("TABLE");
        }

        private void btnList_Click(object sender, EventArgs e)
        {
            LoadFormAppObjects("LIST");
        }

        private void btnCard_Click(object sender, EventArgs e)
        {
            LoadFormAppObjects("CARD");
        }
    }
}
